package com.foreknow.springboot_demo.dao;

import com.foreknow.springboot_demo.model.Admin;

import java.util.List;

public interface AdminDao {
    Admin findByNameAndPassword(Admin admin);

    List<Admin> findByAdminWithPage(Admin admin, int start, int end);

    int insert(Admin admin);

    int updateStateById(int id);

    int deleteById(int id);
}
